/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package br.terminalrodoviario;

/**
 *
 * @author marcelo
 */
public class City extends BaseEntity<City> {

    // <editor-fold defaultstate="collapsed" desc="Builders">
    public City()
    {
    }
    public City(String name,String state)
    {
        this.name=name;
        this.state=state;
    }
    // </editor-fold>

    // <editor-fold defaultstate="collapsed" desc="Properties">
    private String name;
    private String state;
    private int sequence;//usado somente para Search
    // </editor-fold>

    // <editor-fold defaultstate="collapsed" desc="Gets and Sets">
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getFullName(){
        return name + " / " + state;
    }

    public int getSequence() {
        return sequence;
    }

    public void setSequence(int sequence) {
        this.sequence = sequence;
    }

    
    // </editor-fold>
       
}
